// 整体固定定位位置
body,ul,li{
    margin: 0;
    padding: 0;
}
.whole{
    width: 18.75rem;
    background-color: #ffffff;
    .nav{ 
        width: 18.75rem;
        background-color: #fff;
        z-index: 10;
        position: fixed;
    }
    .nav-top{
        width: 100%;
        height: 2.2rem;
        ul{
            display: flex;
            height: 1.8rem;
            li:nth-child(1){
                display: block;
                width: 3.55rem;
                height: 2.2rem;
                .top-1{
                    margin: 0 auto 0;
                    padding-top: .5rem;
                    display: block;
                    width: 2.4rem;
                    height: 1.2rem;
                    img{
                        width: 100%;
                    }
                }
            }
            li:nth-child(2){
                position: relative;
                padding-top: .4rem;
                i{
                    position: absolute;
                    top: .8rem;
                    left: .5rem;
                    font-size: .5rem;
                    color: #666;
                    
                }

                a{  
                    display:block;
                    width: 14.8rem;
                    height: 1.3rem;
                    line-height: 1.3rem;
                    background: #f1f1f1;
                    border-radius: .65rem;
                    font-size: .6rem;
                    color: #999;
                    padding-left: 1.6rem;
                }

            }
        }

    }

    // 下
    .nav-down{
        height: 2.2rem;
        display: flex;
        .nav-top-1{
            flex: 1 0 0;
            display: flex;
            overflow-x: auto;
            scrollbar-width:none;
            .nav-down-one{
                flex: 0 0 3.75rem;
                text-align: center;
                a{  
                    line-height: 2.2rem;
                    font-size: .6rem;
                    font-weight: 600;
                    color: #ccaa7a;
                }

            }
            .gray a{
                color: #666 !important;
            }
           
        }
        .nav-top-2{
            flex:0 0 1.5rem;
            width: 1.5rem;
            height: 2.2rem;
            line-height: 2.5rem;
            padding-left: .3rem;
            font-size: 1rem;
            color: #666;
        }  
    }
    // 固定下面部分图片
    .main{
        width: 100%;
        .open{
            width: 18.75rem;
            height: 2.5rem;
            display: flex;
            justify-content: center;
            img{
                width: 100%;
            }
            div{
                width: 12.75rem;
                height: 2.75rem;
                z-index: 15;
                position: fixed;
                top: 80%;
            
                img{
                    width: 100%;
                }
            }
        }
        // 
        .first{
            width: 100%;
            .first-one{
                width: 18.75rem;
                height: 18.95rem;
                a{
                    width: 100%;
                    img{
                        width: 100%;
                    }
                }   
            }
            .first-two{
                width: 18.75rem;
                margin-top: -0.2rem;
                a{
                    width: 100%;
                    img{
                        width: 100%;
                    }
                }   
            }
        }
        .second{
            width: 18.75rem;
            height: 5.4rem;
            background-color: rgb(127, 40,40);
            margin-top: -0.2rem;
            .second-one{
                width: 100%;
                div{
                    width: 4.65rem;
                    height: 5.4rem;
                    a{
                        width: 100%;
                        img{
                            width: 100%;
                        }
                    }

                }
            }
        }
        .thirdly{
            width: 18.75rem;
                margin-top: -0.2rem;
                display: flex;
                a{  
                    display: block;
                    width: 50%;
                    img{
                        width: 100%;
                    }
                }   

        }
        .fourthly{
            width: 100%;
            ul{
                display: flex;
                height: 2.2rem;
                padding: .2rem .4rem 0 .4rem;
                background-color: rgb(171, 31, 19);
                li{
                    flex: 1;
                    background-color: rgb(120, 40, 40);
                    color: #fff;
                    border-radius: .2rem .2rem 0 0;
                    text-align: center;
                    font-size: .7rem;
                    line-height: 2.2rem;

                }
                li:nth-child(1){
                    background: #fff;
                    border-radius: .2rem .2rem 0 0;
                    color: rgb(255, 0, 0);
                    text-align: center;
                    font-size: .7rem;
                    line-height: 2.2rem;
                }
            }
        }
        // 
        .details{
            display: flex;
            flex-wrap: wrap;
            a{
              width: 49%;  
              margin-right: 1%;
              padding-bottom: .6rem;
                .details-top{
                    width: 8.35rem;
                    height: 10rem;
                    padding: .6rem .4rem;
                    img{
                        width: 100%;
                    }
                }
                .details-down{
                    padding: .3rem .4rem;
                    p:nth-child(1){
                        margin-bottom: .35rem;
                        span:nth-child(1){
                            margin-bottom: .15rem;
                            border: .05rem solid #ff9419;
                            border-radius: .2rem;
                            color: #ff9419;
                            font-size: .7rem;
                            font-weight: 700;
                        }
                        span:nth-child(2){
                            color: #e65c5c;
                            margin: 0 .2rem 0 .1rem;
                            font-size: .8rem;
                        }
                        s{
                            color: #666;
                            margin: 0 .2rem 0 .1rem;
                            font-size: .6rem;
                        }
                    }
                    p:nth-child(2){
                        color: #666;
                        font-size: .6rem;
                        font-weight: 700;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 2;
                        -webkit-box-orient: vertical;
                        margin-bottom: .4rem;
                    }
                    p:nth-child(3){
                        span:nth-child(1){
                            padding: .1rem .2rem;
                            margin-bottom: .1rem;
                            font-size: .6rem;
                            border-radius: .15rem;
                            background: linear-gradient(315deg,#ff8080 0,#e65c5c 100%) !important;
                            color: #fff;
                        }
                        span:nth-child(2){
                            padding: .1rem .2rem;
                            margin-bottom: .1rem;
                            font-size: .6rem;
                            border-radius: .15rem;
                            background: linear-gradient(90deg,#f2dec2 0,#ffdfb3 100%);
                            color: #4d4d4d;

                        }


                    }

                    
                    
                }

            }
        }
        
        
    
    }

}
